package xyz.eden.boot.common.web.support.application.base.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * PageDTO
 *
 * @author gavin
 * @version 1.0
 * @descriptor
 * @date 2023/4/26 8:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageDTO<D> {
    private int offset;
    private int limit;
    private int total;
    private List<D> list;
}
